package com.yanqu.road.entity.clinic;

import com.yanqu.road.entity.DataObject;

/**
 * @author ：zfr
 * @date ：2021/2/24 15:51
 * 病症
 */
public class DiseaseData extends DataObject {
    /**
     * 玩家id
     */
    private long userId;
    /**
     * 病症id
     */
    private int id;
    /**
     * 病症等级
     */
    private int level;
    /**
     * 病症医术值
     */
    private long value;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        if (this.level != level) {
            this.level = level;
            setUpdateOption();
        }
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        if (this.value != value) {
            this.value = value;
            setUpdateOption();
        }
    }
}
